add_rules("mode.debug", "mode.release")

add_requires("mpich")
add_requires("openmp")


target("MatrixMulMPI")
    set_kind("binary")
    add_packages("mpich")
    add_files("src/main_mpi.cpp")
    
target("MatrixMulMPIOpenMP")
    set_kind("binary")
    add_packages("mpich")
    add_packages("openmp")
    add_files("src/main_mpi_openmp.cpp")
    
